home *** CD-ROM | disk | FTP | other *** search
/ Aminet 32 / Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso / Aminet / dev / lang / Python151_Src.lha / Python1.5_Source / Include / config.h < prev    next >
C/C++ Source or Header  |  1998-12-25  |  12KB  |  484 lines

  1. #ifndef Py_CONFIG_H
  2. #define Py_CONFIG_H
  3.  
  4. /* config.h. Edited by hand for Amiga SAS/C by Irmen de Jong */
  5. /* (adapted from: config.h.in) */
  6.  
  7. /* 27-mar-96: updated for AmiTCP (Irmen de Jong) */
  8. /*  8-dec-96: now for Python 1.4 */
  9. /* 11-jan-98: now for Python 1.5... for now, assumes AMITCP is used */
  10. /*            Looks much more like original config.h.in now */
  11. /* 24-dec-98: added some more #defines */
  12. /* 25-dec-98: added support for I-Net 225 (at the bottom) */
  13.  
  14.  
  15. /*************************** ADDED STUFF FOR AMIGA PYTHON ****************/
  16.  
  17. /*  BUILTIN LIBRARY SEARCH PATH */
  18. /***#define PYTHONPATH "Python:Lib"***/
  19.  
  20. /************************* END ADDED STUFF FOR AMIGA PYTHON **************/
  21.  
  22.  
  23. /* Must be defined if using UNSIGNED CHARACTERS: */
  24. /* (_UNSCHAR is SAS/C's defined symbol if using unsigned chars) */
  25.  
  26. #ifdef _UNSCHAR
  27. #define __CHAR_UNSIGNED__
  28. #endif
  29.  
  30.  
  31. /* Define to empty if the keyword does not work.  */
  32. #undef const
  33.  
  34. /* Define to `int' if <sys/types.h> doesn't define.  */
  35. #undef gid_t
  36.  
  37. /* Define if your struct tm has tm_zone.  */
  38. #undef HAVE_TM_ZONE
  39.  
  40. /* Define if you don't have tm_zone but do have the external array
  41.    tzname.  */
  42. #define HAVE_TZNAME
  43.  
  44. /* Define if on MINIX.  */
  45. #undef _MINIX
  46.  
  47. /* Define to `int' if <sys/types.h> doesn't define.  */
  48. #undef mode_t
  49.  
  50. /* Define to `long' if <sys/types.h> doesn't define.  */
  51. #undef off_t
  52.  
  53. /* Define to `int' if <sys/types.h> doesn't define.  */
  54. #undef pid_t
  55.  
  56. /* Define if the system does not provide POSIX.1 features except
  57.    with this defined.  */
  58. #undef _POSIX_1_SOURCE
  59.  
  60. /* Define if you need to in order for stat and other things to work.  */
  61. #undef _POSIX_SOURCE
  62.  
  63. /* Define as the return type of signal handlers (int or void).  */
  64. #define RETSIGTYPE void
  65.  
  66. /* Define to `unsigned' if <sys/types.h> doesn't define.  */
  67. #undef size_t
  68.  
  69. /* Define if you have the ANSI C header files.  */
  70. #define STDC_HEADERS
  71.  
  72. /* Define if you can safely include both <sys/time.h> and <time.h>.  */
  73. #define TIME_WITH_SYS_TIME
  74.  
  75. /* Define if your <sys/time.h> declares struct tm.  */
  76. #undef TM_IN_SYS_TIME
  77.  
  78. /* Define to `int' if <sys/types.h> doesn't define.  */
  79. #undef uid_t
  80.  
  81. /* Define if your <unistd.h> contains bad prototypes for exec*()
  82.    (as it does on SGI IRIX 4.x) */
  83. #undef BAD_EXEC_PROTOTYPES
  84.  
  85. /* Define if your compiler botches static forward declarations
  86.    (as it does on SCI ODT 3.0) */
  87. #undef BAD_STATIC_FORWARD
  88.  
  89. /* Define if you have the Mach cthreads package */
  90. #undef C_THREADS
  91.  
  92. /* Define to `long' if <time.h> doesn't define.  */
  93. #undef clock_t
  94.  
  95. /* Define if getpgrp() must be called as getpgrp(0). */
  96. #undef GETPGRP_HAVE_ARG
  97.  
  98. /* Define if gettimeofday() does not have second (timezone) argument
  99.    This is the case on Motorola V4 (R40V4.2) */
  100. #undef GETTIMEOFDAY_NO_TZ
  101.  
  102. /* Define this if your time.h defines altzone */
  103. #undef HAVE_ALTZONE
  104.  
  105. /* Define this if you have a K&R style C preprocessor */
  106. #undef HAVE_OLD_CPP
  107.  
  108. /* Define if your compiler supports function prototypes */
  109. #define HAVE_PROTOTYPES
  110.  
  111. /* Define if your compiler supports variable length function prototypes
  112.    (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */
  113. #define HAVE_STDARG_PROTOTYPES
  114.  
  115. /* Define if malloc(0) returns a NULL pointer */
  116. #define MALLOC_ZERO_RETURNS_NULL
  117.  
  118. /* Define if you have POSIX threads */
  119. #undef _POSIX_THREADS
  120.  
  121. /* Define to force use of thread-safe errno, h_errno, and other functions */
  122. #undef _REENTRANT
  123.  
  124. /* Define if setpgrp() must be called as setpgrp(0, 0). */
  125. #undef SETPGRP_HAVE_ARG
  126.  
  127. /* Define to empty if the keyword does not work.  */
  128. #undef signed
  129.  
  130. /* Define if  you can safely include both <sys/select.h> and <sys/time.h>
  131.    (which you can't on SCO ODT 3.0). */
  132. #define SYS_SELECT_WITH_SYS_TIME
  133.  
  134. /* Define if a va_list is an array of some kind */
  135. #undef VA_LIST_IS_ARRAY
  136.  
  137. /* Define to empty if the keyword does not work.  */
  138. #undef volatile
  139.  
  140. /* Define if you want SIGFPE handled (see Include/pyfpe.h). */
  141. #undef WANT_SIGFPE_HANDLER
  142.  
  143. /* Define if you want to use SGI (IRIX 4) dynamic linking.
  144.    This requires the "dl" library by Jack Jansen,
  145.    ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z.
  146.    Don't bother on IRIX 5, it already has dynamic linking using SunOS
  147.    style shared libraries */ 
  148. #undef WITH_SGI_DL
  149.  
  150. /* Define if you want to emulate SGI (IRIX 4) dynamic linking.
  151.    This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4),
  152.    Sequent Symmetry (Dynix), and Atari ST.
  153.    This requires the "dl-dld" library,
  154.    ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z,
  155.    as well as the "GNU dld" library,
  156.    ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z.
  157.    Don't bother on SunOS 4 or 5, they already have dynamic linking using
  158.    shared libraries */ 
  159. #undef WITH_DL_DLD
  160.  
  161. /* Define if you want to compile in rudimentary thread support */
  162. #undef WITH_THREAD
  163.  
  164. /* The number of bytes in a int.  */
  165. #define SIZEOF_INT 4
  166.  
  167. /* The number of bytes in a long.  */
  168. #define SIZEOF_LONG 4
  169.  
  170. /* Define if you have the alarm function.  */
  171. #undef HAVE_ALARM
  172.  
  173. /* Define if you have the chown function.  */
  174. #define HAVE_CHOWN
  175.  
  176. /* Define if you have the clock function.  */
  177. #define HAVE_CLOCK
  178.  
  179. /* Define if you have the dlopen function.  */
  180. #undef HAVE_DLOPEN
  181.  
  182. /* Define if you have the dup2 function.  */
  183. #undef HAVE_DUP2
  184.  
  185. /* Define if you have the execv function.  */
  186. #undef HAVE_EXECV
  187.  
  188. /* Define if you have the flock function.  */
  189. #undef HAVE_FLOCK
  190.  
  191. /* Define if you have the fork function.  */
  192. #undef HAVE_FORK
  193.  
  194. /* Define if you have the ftime function.  */
  195. #undef HAVE_FTIME
  196.  
  197. /* Define if you have the ftruncate function.  */
  198. #undef HAVE_FTRUNCATE
  199.  
  200. /* Define if you have the getcwd function.  */
  201. #define HAVE_GETCWD
  202.  
  203. /* Define if you have the gethostname_r function.  */
  204. #undef HAVE_GETHOSTNAME_R
  205.  
  206. /* Define if you have the getpeername function.  */
  207. #define HAVE_GETPEERNAME
  208.  
  209. /* Define if you have the getpgrp function.  */
  210. #define HAVE_GETPGRP
  211.  
  212. /* Define if you have the getpid function.  */
  213. #define HAVE_GETPID
  214.  
  215. /* Define if you have the getpwent function.  */
  216. #define HAVE_GETPWENT
  217.  
  218. /* Define if you have the gettimeofday function.  */
  219. #define HAVE_GETTIMEOFDAY
  220.  
  221. /* Define if you have the getwd function.  */
  222. #undef HAVE_GETWD
  223.  
  224. /* Define if you have the hypot function.  */
  225. #define HAVE_HYPOT
  226.  
  227. /* Define if you have the kill function.  */
  228. #undef HAVE_KILL
  229.  
  230. /* Define if you have the link function.  */
  231. #define HAVE_LINK
  232.  
  233. /* Define if you have the lstat function.  */
  234. #define HAVE_LSTAT
  235.  
  236. /* Define if you have the memmove function.  */
  237. #define HAVE_MEMMOVE
  238.  
  239. /* Define if you have the mkfifo function.  */
  240. #undef HAVE_MKFIFO
  241.  
  242. /* Define if you have the mktime function.  */
  243. #define HAVE_MKTIME
  244.  
  245. /* Define if you have the nice function.  */
  246. #undef HAVE_NICE
  247.  
  248. /* Define if you have the pause function.  */
  249. #undef HAVE_PAUSE
  250.  
  251. /* Define if you have the plock function.  */
  252. #undef HAVE_PLOCK
  253.  
  254. /* Define if you have the putenv function.  */
  255. #define HAVE_PUTENV
  256.  
  257. /* Define if you have the readlink function.  */
  258. #define HAVE_READLINK
  259.  
  260. /* Define if you have the select function.  */
  261. #define HAVE_SELECT
  262.  
  263. /* Define if you have the setgid function.  */
  264. #define HAVE_SETGID
  265.  
  266. /* Define if you have the setlocale function.  */
  267. #define HAVE_SETLOCALE
  268.  
  269. /* Define if you have the setpgid function.  */
  270. #undef HAVE_SETPGID
  271.  
  272. /* Define if you have the setpgrp function.  */
  273. #undef HAVE_SETPGRP
  274.  
  275. /* Define if you have the setsid function.  */
  276. #define HAVE_SETSID
  277.  
  278. /* Define if you have the setuid function.  */
  279. #define HAVE_SETUID
  280.  
  281. /* Define if you have the setvbuf function.  */
  282. #define HAVE_SETVBUF
  283.  
  284. /* Define if you have the sigaction function.  */
  285. #undef HAVE_SIGACTION
  286.  
  287. /* Define if you have the siginterrupt function.  */
  288. #undef HAVE_SIGINTERRUPT
  289.  
  290. /* Define if you have the sigrelse function.  */
  291. #undef HAVE_SIGRELSE
  292.  
  293. /* Define if you have the strdup function.  */
  294. #define HAVE_STRDUP
  295.  
  296. /* Define if you have the strerror function.  */
  297. #define HAVE_STRERROR
  298.  
  299. /* Define if you have the strftime function.  */
  300. #define HAVE_STRFTIME
  301.  
  302. /* Define if you have the strptime function.  */
  303. #undef HAVE_STRPTIME
  304.  
  305. /* Define if you have the symlink function.  */
  306. #define HAVE_SYMLINK
  307.  
  308. /* Define if you have the tcgetpgrp function.  */
  309. #undef HAVE_TCGETPGRP
  310.  
  311. /* Define if you have the tcsetpgrp function.  */
  312. #undef HAVE_TCSETPGRP
  313.  
  314. /* Define if you have the times function.  */
  315. #undef HAVE_TIMES
  316.  
  317. /* Define if you have the truncate function.  */
  318. #undef HAVE_TRUNCATE
  319.  
  320. /* Define if you have the uname function.  */
  321. #define HAVE_UNAME
  322.  
  323. /* Define if you have the waitpid function.  */
  324. #undef HAVE_WAITPID
  325.  
  326.  
  327. /* execv function? */
  328. #undef HAVE_EXECV
  329.  
  330. /* system function? */
  331. #define HAVE_SYSTEM
  332.  
  333. /* wait function? */
  334. #undef HAVE_WAIT
  335.  
  336. /* kill function? */
  337. #undef HAVE_KILL
  338.  
  339. /* pipe function? */
  340. #define HAVE_PIPE
  341.  
  342. /* popen function? */
  343. #define HAVE_POPEN
  344.  
  345. /* fork function? */
  346. #undef HAVE_FORK
  347.  
  348. /* getegid function? */
  349. #define HAVE_GETEGID
  350.  
  351. /* geteuid function? */
  352. #define HAVE_GETEUID
  353.  
  354. /* getgid function? */
  355. #define HAVE_GETGID
  356.  
  357. /* getppid function? */
  358. #undef HAVE_GETPPID
  359.  
  360. /* getuid function? */
  361. #define HAVE_GETUID
  362.  
  363. /* opendir function? */
  364. #define HAVE_OPENDIR
  365.  
  366.  
  367. /* Define if you have the <dirent.h> header file.  */
  368. #undef HAVE_DIRENT_H
  369.  
  370. /* Define if you have the <dlfcn.h> header file.  */
  371. #undef HAVE_DLFCN_H
  372.  
  373. /* Define if you have the <fcntl.h> header file.  */
  374. #define HAVE_FCNTL_H
  375.  
  376. /* Define if you have the <limits.h> header file.  */
  377. #define HAVE_LIMITS_H
  378.  
  379. /* Define if you have the <locale.h> header file.  */
  380. #define HAVE_LOCALE_H
  381.  
  382. /* Define if you have the <ncurses.h> header file.  */
  383. #undef HAVE_NCURSES_H
  384.  
  385. /* Define if you have the <ndir.h> header file.  */
  386. #undef HAVE_NDIR_H
  387.  
  388. /* Define if you have the <pthread.h> header file.  */
  389. #undef HAVE_PTHREAD_H
  390.  
  391. /* Define if you have the <signal.h> header file.  */
  392. #define HAVE_SIGNAL_H
  393.  
  394. /* Define if you have the <stdarg.h> header file.  */
  395. #define HAVE_STDARG_H
  396.  
  397. /* Define if you have the <stddef.h> header file.  */
  398. #define HAVE_STDDEF_H
  399.  
  400. /* Define if you have the <stdlib.h> header file.  */
  401. #define HAVE_STDLIB_H
  402.  
  403. /* Define if you have the <sys/audioio.h> header file.  */
  404. #undef HAVE_SYS_AUDIOIO_H
  405.  
  406. /* Define if you have the <sys/dir.h> header file.  */
  407. #define HAVE_SYS_DIR_H
  408.  
  409. /* Define if you have the <sys/file.h> header file.  */
  410. #define HAVE_SYS_FILE_H
  411.  
  412. /* Define if you have the <sys/lock.h> header file.  */
  413. #undef HAVE_SYS_LOCK_H
  414.  
  415. /* Define if you have the <sys/ndir.h> header file.  */
  416. #undef HAVE_SYS_NDIR_H
  417.  
  418. /* Define if you have the <sys/param.h> header file.  */
  419. #define HAVE_SYS_PARAM_H
  420.  
  421. /* Define if you have the <sys/select.h> header file.  */
  422. #undef HAVE_SYS_SELECT_H
  423.  
  424. /* Define if you have the <sys/time.h> header file.  */
  425. #define HAVE_SYS_TIME_H
  426.  
  427. /* Define if you have the <sys/times.h> header file.  */
  428. #undef HAVE_SYS_TIMES_H
  429.  
  430. /* Define if you have the <sys/un.h> header file.  */
  431. #undef HAVE_SYS_UN_H
  432.  
  433. /* Define if you have the <sys/utsname.h> header file.  */
  434. #undef HAVE_SYS_UTSNAME_H
  435.  
  436. /* Define if you have the <sys/wait.h> header file.  */
  437. #undef HAVE_SYS_WAIT_H
  438.  
  439. /* Define if you have the <thread.h> header file.  */
  440. #undef HAVE_THREAD_H
  441.  
  442. /* Define if you have the <unistd.h> header file.  */
  443. #define HAVE_UNISTD_H
  444.  
  445. /* Define if you have the <utime.h> header file.  */
  446. #define HAVE_UTIME_H
  447.  
  448. /* Define if you have the dl library (-ldl).  */
  449. #undef HAVE_LIBDL
  450.  
  451. /* Define if you have the dld library (-ldld).  */
  452. #undef HAVE_LIBDLD
  453.  
  454. /* Define if you have the ieee library (-lieee).  */
  455. #undef HAVE_LIBIEEE
  456.  
  457. /* Define if you have the sun library (-lsun).  */
  458. #undef HAVE_LIBSUN
  459.  
  460.  
  461.  
  462. /************************* FROM HERE:   I-NET 225 stuff ********************/
  463.  
  464. #ifdef INET225
  465.  
  466. /* Define if you have the chown function.  */
  467. #undef HAVE_CHOWN
  468.  
  469. /* Define if you have the getpgrp function.  */
  470. #undef HAVE_GETPGRP
  471.  
  472. /* Define if you have the setsid function.  */
  473. #undef HAVE_SETSID
  474.  
  475. /* Define if you have the <unistd.h> header file.  */
  476. #undef HAVE_UNISTD_H
  477.  
  478. #define HAVE_SYS_WAIT_H
  479.  
  480.  
  481. #endif /* INET225 */
  482.  
  483. #endif
  484.